﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Web.UI;
using System.Data;
using System.Data.SqlClient;
using System.Web.UI.WebControls;
using attendance.L3Bussobject;
using attendance.L2Busslogic;

namespace attendance.L4View.student
{
    public partial class student_qiandao_info : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            qiandaoOB mydd = new qiandaoOB();
            mydd = qiandaoBL.Getwordsingle(Session["login"].ToString());
            Label_name.Text = mydd.q_name;
            Label_numb.Text = mydd.q_numb;
            Label_date.Text = mydd.q_date;
            Label_IP.Text = mydd.q_ip;
            Image1.ImageUrl = mydd.q_photo;

            qiandaoOB mydd1 = new qiandaoOB();
            mydd1 = qiandaoBL.Getwordsingle(Session["login"].ToString());
            if (mydd1.q_photo != "")
            {
                if (qiandaoBL.deletephoto(mydd1.q_name, ""))
                {
                    return;
                }
            }         
        }  
    }
}